<!doctype html>
<html>
<head>
<meta charset="utf-8">
<script type="text/javascript">

var books ={
    "author" : "w3c",
    "date" : "2017",
    "book" : [{
        "title" : [{"lang" : "cn"},"XPath语言基础"],
        "price" : 30.5
    },
    {
        "title" : [{"lang" : "en"},"精通XPath"],
        "price" : 50
    }]
}
alert(books.book[0].title[1]); 		// 返回字符串"XPath语言基础"


</script>
<title></title>
</head>

<body>
</body>
</html>
